pyqt5 cannot load xcb plugin
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
I am attempting to create a snap for a PyQt5 project.
See http://github.com/ihaywood3/DEXBot/tree/snap
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/snap/dexbot/x9/usr/bin/platforms" ...
Cannot load library /snap/dexbot/x9/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/snap/dexbot/x9/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: undefined symbol: _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE)
QLibraryPrivate::loadPlugin failed on "/snap/dexbot/x9/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" : "Cannot load library /snap/dexbot/x9/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/snap/dexbot/x9/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: undefined symbol: _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE)"
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb, vnc.
Reinstalling the application may fix this problem.
Aborted (core dumped)
I cannot get past this error. I have included desktop-qt5 as a part, and I cannot understand why all required Qt5 libraries are not available.
The missing identifier ("PlatformTheme14...") is found in
the platform theme plugins libqgtk2.so and libappmenu-qt5.so, both are available in the snap.
Evaluation history
No evaluation history available.